import request from '@/utils/request'

// 查询店铺列表
export function list(data) {
  return request({
    url: '/system/shops/list',
    method: 'post',
    data: data
  })
}
// 添加店铺
export function add(data) {
  return request({
    url: '/system/shops/add',
    method: 'post',
    data: data
  })
}
// 店铺详情
export function info(data) {
  return request({
    url: '/system/shops/info',
    method: 'post',
    data: data
  })
}
// 修改店铺
export function edit(data) {
  return request({
    url: '/system/shops/edit',
    method: 'post',
    data: data
  })
}
// 删除店铺
export function remove(id) {
  return request({
    url: '/system/shops/remove',
    method: 'post',
    data: {
      id: id
    }
  })
}